home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / adainc / s-tasabo.ads < prev    next >
Text File  |  1996-01-30  |  3KB  |  49 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                 GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS               --
  4. --                                                                          --
  5. --               S Y S T E M . T A S K I N G . A B O R T I O N              --
  6. --                                                                          --
  7. --                                  S p e c                                 --
  8. --                                                                          --
  9. --                             $Revision: 1.9 $                             --
  10. --                                                                          --
  11. --       Copyright (c) 1991,1992,1993,1994, FSU, All Rights Reserved        --
  12. --                                                                          --
  13. -- GNARL is free software; you can redistribute it  and/or modify it  under --
  14. -- terms  of  the  GNU  Library General Public License  as published by the --
  15. -- Free Software  Foundation;  either version 2, or (at  your  option)  any --
  16. -- later  version.  GNARL is distributed  in the hope that  it will be use- --
  17. -- ful, but but WITHOUT ANY WARRANTY;  without even the implied warranty of --
  18. -- MERCHANTABILITY  or  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Gen- --
  19. -- eral Library Public License  for more details.  You should have received --
  20. -- a  copy of the GNU Library General Public License along with GNARL;  see --
  21. -- file COPYING.LIB.  If not,  write to the  Free Software Foundation,  675 --
  22. -- Mass Ave, Cambridge, MA 02139, USA.                                      --
  23. --                                                                          --
  24. ------------------------------------------------------------------------------
  25.  
  26. with System.Task_Primitives;
  27. --  Used for,  Task_Primitives.Pre_Call_State
  28.  
  29. with System.Tasking.Utilities;
  30. --  Used for,  Utilities.ATCB_Ptr
  31.  
  32. package System.Tasking.Abortion is
  33.  
  34.    procedure Abort_Tasks (Tasks : Task_List);
  35.    --  Abort_Tasks is called to initiate abortion, however, the actual
  36.    --  abortion is done by abortee by means of Abort_Handler
  37.  
  38.    procedure Change_Base_Priority (T : Utilities.ATCB_Ptr);
  39.    --  Change the base priority of T.
  40.    --  Has to be called with T.Lock write locked.
  41.  
  42.    procedure Defer_Abortion;
  43. --    pragma Inline (Defer_Abortion); --  To allow breakpoints to be set. ???
  44.  
  45.    procedure Undefer_Abortion;
  46. --    pragma Inline (Undefer_Abortion); --  To allow breakpoints to be set.
  47.  
  48. end System.Tasking.Abortion;
  49.